package com.tony.domain.dto;

import com.tony.domain.enumerate.EnableEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @author tony
 * @date 2020/3/1 4:30 下午
 */
@ApiModel
@Data
@EqualsAndHashCode(callSuper = false)
public class SelectAdminMenuPageDTO extends AbstractPageDTO {

    public SelectAdminMenuPageDTO() {
        this.isEnable = EnableEnum.ENABLE;
    }

    @ApiModelProperty("名称")
    private String name;

    @ApiModelProperty("状态1：正常2：禁用")
    private EnableEnum isEnable;

    @ApiModelProperty("父级id")
    private Integer parentId;
}
